import 'package:riverpod_demo/generated/json/base/json_convert_content.dart';
import 'package:riverpod_demo/page/mine/data/model/mine_model.dart';

MineModel $MineModelFromJson(Map<String, dynamic> json) {
	final MineModel mineModel = MineModel();
	final List<dynamic>? feeds = jsonConvert.convertListNotNull<dynamic>(json['feeds']);
	if (feeds != null) {
		mineModel.feeds = feeds;
	}
	final int? show_times = jsonConvert.convert<int>(json['show_times']);
	if (show_times != null) {
		mineModel.show_times = show_times;
	}
	return mineModel;
}

Map<String, dynamic> $MineModelToJson(MineModel entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['feeds'] =  entity.feeds;
	data['show_times'] = entity.show_times;
	return data;
}